//
//  ASSession+Device.h
//  AppleAuth
//
//  Created by 吴双 on 2023/1/23.
//

#import "ASSession.h"

@class ALTTeam, ALTDevice;

@interface ASTeamSession (Device)

- (void)fetchDevices:(void (^ _Nullable)(NSArray<ALTDevice *> * _Nullable devices, NSError * _Nullable error))completion;

- (void)registerDeviceWithName:(NSString * _Nonnull)name
                    identifier:(NSString * _Nonnull)identifier
                     completed:(void (^_Nullable)(ALTDevice *_Nullable device, NSError *_Nullable error))completion;

@end
